﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Principal : BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["userName"] == null || Session["userType"] == null || Session["userType"].ToString() != "PhongDaoTao")
        {
            Response.Redirect("~/Login.aspx");
        }
    }

    public void Menu1_MenuItemClick(object sender, MenuEventArgs e)
    {
        Logout();
    }
}